<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>工作台</title>
<link rel="stylesheet" href="${ctx}/statics/css/bootstrap.min.css" />
<link rel="stylesheet" href="${ctx}/statics/css/font-awesome.min.css" />
<link rel="stylesheet"
	href="${ctx}/statics/js/layer/skin/default/layer.css" />
<link rel="stylesheet"
	href="${ctx}/statics/js/bootstrap-table/bootstrap-table.css" />
</head>
<body>
	<div id="main-content" class="container-fluid">
		<div class="panel panel-default">
			<div class="panel-heading">关怀提醒</div>
			<div class="panel-body  xb-label-content">
				<div class="container">
                    <table id="entity_table1" class="table table-bordered table-hover">
						<!-- id="user_table" -->
					</table>
				</div>
			</div>
		</div>
	</div>

	<div id="main-content" class="container-fluid">
		<div class="panel panel-default">
			<div class="panel-heading">有效公告</div>
			<div class="panel-body xb-label-content">
				<div class="container">
					<table id="entity_table2" class="table table-bordered table-hover">
						<!-- id="user_table" -->
					</table>
				</div>
			</div>
		</div>
	</div>
	<%@ include file="../common.jsp"%>
	<script type="text/javascript"
		src="${ctx}/statics/js/jquery-form/jquery.form.js"></script>
</body>
<script type="text/javascript">
	$(function() {

		$('#entity_table1').bootstrapTable({
			url : '${ctx}/workbench/getCustomerCareList.do',
			smartDisplay : false,
			striped : true,
			showRefresh : false,
			showColumns : false,
			cache : false,
			columns : [ {
				field : 'id',
				title : 'ID',
				width : 50
			}, {
				field : 'careTheme',
				title : '关怀主题',
				width : 50
			}, {
				field : 'careNexttime',
				title : '再次关怀时间',
				width : 50
			}, {
				field : 'customerName',
				title : '关怀对象',
				width : 50
			},{
				field : 'carePeople',
				title : '负责员工',
				width : 50
			} ]
		});

		$('#entity_table2').bootstrapTable({
			url : '${ctx}/workbench/getNoticeList.do',
			smartDisplay : false,
			striped : true,
			showRefresh : false,
			showColumns : false,
			cache : false,
			columns : [ {
				field : 'id',
				title : 'ID',
				width : 50
			}, {
				field : 'noticeItem',
				title : '公告主题',
				width : 50
			}, {
				field : 'noticeContent',
				title : '公告内容',
				width : 100
			}, {
				field : 'noticeEndtime',
				title : '截止时间',
				width : 50
			},{
				field : 'userName',
				title : '公告人',
				width : 50
			} ]
		});

	});
</script>
</html>